package main

import (
	"github.com/gin-gonic/gin"
	"right/config"
	"right/initalize"
	"right/ws"
)

func main() {
	config.INitViper()
	initalize.InitMysql()
	r := gin.Default()

	ws.Router(r)
	r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}
